package cn.jiyun.controller;

import cn.jiyun.feign.CourseFeign;
import cn.jiyun.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author 王晨
 * Date 2023/8/25
 */
@RestController
@RequestMapping("/course")
public class CourseController {
    @Autowired
    private CourseFeign courseFeign;

    @RequestMapping("/findCourse")//查询标签表
    public R findCourse(){
        return courseFeign.findCou();
    }


}
